<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>将js和html分开</title>
    <script defer src="TodoItem.js"></script>
</head>
<body>
    <todo-item>Todo one</todo-item>
</body>
</html>